@mixin container {
  padding: 0;
  margin: 0;
}

:global {
  .inner {
    width: 1200px;
    height: 100%;
    padding: 0 10px;
    margin: 0 auto;
    box-sizing: border-box;
  }

  .ml5 {
    margin-left: 5px;
  }

  .p-r {
    position: relative;
  }

  .t-r {
    text-align: right;
  }

  .flex {
    display: flex;
  }

  .ai-c {
    align-items: center;
  }

  .jc-sb {
    justify-content: space-between;
  }

  .jc-fe {
    justify-content: flex-end;
  }

  /*财务单3种状态*/
  .to-be-settled,
  .to-be-reviewed,
  .settled-already {
    border-radius: 10px;
    text-align: center;
    font-size: 12px;
    color: #ffffff;
    font-style: normal;
    padding: 2px 10px 3px 10px;
  }

  .to-be-settled {
    background: #8f94d6;
  }

  .to-be-reviewed {
    background: #af7f5f;
  }

  .settled-already {
    background: #6daf73;
  }

  /*voyage bill card*/
  .card {
    margin-bottom: 15px;
    padding: 10px 24px;
    background-color: #fff;
    color: rgba(0, 0, 0, 0.75);

    &:last-child {
      margin-bottom: 0;
    }

    &.cost {
      background: linear-gradient(
        135deg,
        #213140 0%,
        #213140 3.2%,
        #fff 3.2%,
        #fff 100%
      );
    }

    &.income {
      background: linear-gradient(
        135deg,
        #f5a623 0%,
        #f5a623 3.2%,
        #fff 3.2%,
        #fff 100%
      );
    }

    .tag-wrap {
      width: 36px;
      height: 36px;
      position: absolute;
      top: 0;
      left: 0;
      display: flex;
      align-items: center;
      justify-content: center;

      .tag {
        font-size: 12px;
        color: #fff;
        transform: rotate(-45deg);
      }
    }

    .label {
      width: 130px;
      text-align: right;
    }

    *.currency {
      margin-left: 5px;
    }
  }

  /*card 右侧更多信息查看标记*/
  .view-more {
    text-align: right;

    span {
      font-size: 14px;
      color: #f5a623;
      cursor: pointer;
    }
  }

  /*card 内容三等分*/
  .average > div {
    width: 33.33%;
  }

  /*currency format*/
  *.currency,
  .currency + span {
    font-style: normal;
    font-size: 18px;
    font-weight: bold;
  }

  .currency ~ span {
    font-size: 16px;
  }

  /*imo label*/
  *.imo {
    font-size: 12px;
    color: rgba(0, 0, 0, 0.43);
  }

  /*航程账单卡片内部的子项设置*/
  .item {
    margin: 8px 0;

    span {
      font-size: 16px;
    }

    b {
      font-size: 16px;
    }
  }

  /*antd style overwrite for global*/
  .ant-divider {
    color: #d9d9d9;
  }

  .ant-breadcrumb-link {
    a {
      color: rgba(0, 0, 0, 0.75);
    }
  }

  .ant-pagination-item-active {
    background-color: #f5a623;

    a {
      color: #fff !important;
    }
  }

  .ant-table-thead > tr > th {
    background: #fff2dc;
  }

  // 表格
  .epTable {
    thead th {
      border-top: 1px solid #d9d9d9;
      background: #fff2dc !important;
      color: rgba(0, 0, 0, 0.75) !important;
    }
    tbody td {
      color: rgba(0, 0, 0, 0.65) !important;
    }
  }
}
